﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;
using V5_BLL;

namespace V5_EShop.Controllers {
    public class ArticleController : BaseController {


        public ActionResult Index() {
            return View();
        }

        public ActionResult List() {
            return View();
        }

        public ActionResult Search() {
            return View();
        }

        new public ActionResult View(int id) {
            var article = new BLLArticle().GetModel(id);
            this.ViewData["view"] = article;
            return View();
        }

        public ActionResult Comment() {
            return View();
        }

        public ContentResult CommentPost() {
            return Content("处理成功!");
        }
    }
}